<%@ page import="psychoproject.Question" %>



<div class="fieldcontain ${hasErrors(bean: questionInstance, field: 'correctAnswer', 'error')} ">
	<label for="correctAnswer">
		<g:message code="question.correctAnswer.label" default="Correct Answer" />
		
	</label>
	<g:textField name="correctAnswer" value="${questionInstance?.correctAnswer}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: questionInstance, field: 'questionText', 'error')} ">
	<label for="questionText">
		<g:message code="question.questionText.label" default="Question Text" />
		
	</label>
	<g:textField name="questionText" value="${questionInstance?.questionText}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: questionInstance, field: 'type', 'error')} ">
	<label for="type">
		<g:message code="question.type.label" default="Type" />
		
	</label>
	<g:textField name="type" value="${questionInstance?.type}"/>
</div>

